<?php

/**
* @copyright   (C) 2010 iJoomla, Inc. - All rights reserved.
* @license  GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) 
* @author  iJoomla.com webmaster@ijoomla.com
* @url   http://www.ijoomla.com/licensing/
* the PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript  
* are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 
* More info at http://www.ijoomla.com/licensing/
*/

	defined('_JEXEC') or die('Restricted Access');
	$general_date = $this->params->general_date;
?>

<table class="adminform">
	<th><?php echo JText::_("COM_SURVEYS_GENERAL"); ?> </th>		
	<tr>
		<td valign="top" width="100%">
			<table width="100%">
			<tr>
				<td><input type="radio" name="general_value" value="ORpR" <?php if($this->params->general_value == "ORpR") echo "checked" ; ?> />&nbsp;&nbsp;&nbsp;</td>
				<td><?php echo JTExt::_("COM_SURVEYS_ONE_RESPONSE_P_RESPONDENT_TEXT"); ?></td>
			</tr>
			<tr>
				<td><input type="radio" name="general_value" value="ORpRFO" <?php if($this->params->general_value == "ORpRFO") echo "checked" ; ?> />&nbsp;&nbsp;&nbsp;</td>
				<td><?php echo JTExt::_("COM_SURVEYS_ONE_RESPONSE_P_RESPONDENT_FO_TEXT"); ?></td>
			</tr>
			<tr>
				<td><input type="radio" name="general_value" value="MRpR" <?php if($this->params->general_value == "MRpR") echo "checked" ; ?> />&nbsp;&nbsp;&nbsp;</td>
				<td><?php echo JTExt::_("COM_SURVEYS_MULTIPLE_RESPONSES_P_RESPONDENT_TEXT"); ?></td>
			</tr>
			<tr>
				<td><input type="radio" name="general_value" value="MRpRSC" <?php if($this->params->general_value == "MRpRSC") echo "checked" ; ?> />&nbsp;&nbsp;&nbsp;</td>
				<td><?php echo JTExt::_("COM_SURVEYS_MULTIPLE_RESPONSES_P_RESPONDENT_SC_TEXT"); ?></td>
			</tr>
			</table>
		</td>
	</tr>
</table>
		
	<table class="adminform">
		<th><?php echo JTExt::_("COM_SURVEYS_DATETIME"); ?> </th>		
		<tr>
			<td valign="top" width="100%">
				<table width="100%">
					<tr>
						<td width="15%"><?php echo JTExt::_("COM_SURVEYS_DATETIME"); ?></td>
						<td width="85%" align="left">
						<select name="general_date">
							<option  <?php if($general_date == '1') { echo 'selected="selected"'; }?> value="1" <?php echo $this->params->general_date == "1" ? "selected" : "";  ?>>mm/dd/yyyy </option>
							<option <?php if($general_date == '2') { echo 'selected="selected"'; }?> value="2" <?php echo $this->params->general_date == "2" ? "selected" : "";  ?>>dd/mm/yyyy</option>
							<option <?php if($general_date == '3') { echo 'selected="selected"'; }?> value="3" <?php echo $this->params->general_date == "3" ? "selected" : "";  ?>>yyyy/mm/dd </option>
							<option <?php if($general_date == '4') { echo 'selected="selected"'; }?> value="4" <?php echo $this->params->general_date == "4" ? "selected" : "";  ?>>yyyy/dd/mm </option>
						</select>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>